package com.kun.order.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * 
 * @author kun_er
 * @email 2661038743@qq.com
 * @date 2022-05-02 16:08:08
 */
@Data
@TableName("`order`")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 出货id
	 */
	@TableId(value="id",type= IdType.AUTO)
	private Integer id;
	/**
	 * 客户
	 */
	private String coustomer;
	/**
	 * 出货时间
	 */

	@TableField(fill = FieldFill.INSERT)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createtime;
	/**
	 * 支付方式
	 */
	private String paytype;
	/**
	 * 备注
	 */
	private String remarks;
	/**
	 * 发货人
	 */
	private String business;
	/**
	 * 总价格
	 */
	private BigDecimal totalprice;

}
